package edu.zut.cs.software.module.warehouse.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.zut.cs.software.module.warehouse.dao.WarehouseCategoryDao;
import edu.zut.cs.software.module.warehouse.domain.WarehouseCategory;
import edu.zut.cs.software.module.warehouse.service.WarehouseCategoryManager;
import edu.zut.cs.software.teach.Base.service.impl.GenericTreeManagerImpl;

@Service("warehousecategorymanager")
public class WarehouseCategoryManagerImpl extends GenericTreeManagerImpl<WarehouseCategory,Long> 
implements WarehouseCategoryManager{
 
	WarehouseCategoryDao warehousecategoryDao;
	
	@Autowired
	public void setWarehouseCategoryDao(WarehouseCategoryDao warehousecategoryDao) {
		this.warehousecategoryDao = warehousecategoryDao;
		this.dao= warehousecategoryDao;
	}

}
